﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;

namespace Sbook.Library
{
    public class SbookBase:MainBase
    {
        public override string GetConnectionString()
        {
            return ConfigurationManager.ConnectionStrings["DBSbook"].ConnectionString;
        }
        //Ham Lay providerName (providerName="System.Data.SqlClient")
        public override string GetProvider()
        {
            return ConfigurationManager.ConnectionStrings["DBSbook"].ProviderName;
        } 
    }
}